/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Jiang Jinxi
 * Date: 2024-03-09
 * Time: 15:08
 */
public class Card {
    public static void main(String[] args) {
        String[] rank = new String[]{"Ace","2","3","4","5","6","7","8","9","10","Jack","Queen","King"};
        String[] suit = new String[]{"Clubs","Diamonds","Hearts","Spades"};
        int rankIndex = (int)(Math.random()*13);
        int suitIndex = (int)(Math.random()*4);
        System.out.println("The card you picked is " + rank[rankIndex] + " of " + suit[suitIndex]);

    }
}
